import 'normalize.css/normalize.css' 

import ElementPlus from 'element-plus';

import '@/styles/index.scss' 

import store from './store'

import '@/icons' 
import '@/permission' 


import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import SvgIcon from '@/components/SvgIcon'// svg component


const req = require.context('@/icons/svg', false, /\.svg$/)
const requireAll = requireContext => requireContext.keys().map(requireContext)
requireAll(req)

createApp(App)
  .component('svg-icon', SvgIcon)
  .use(router)
  .use(store)
  .use(ElementPlus)
  .mount("#app");
